package name.fowler.refactoring.simplestore.calculators;

import name.fowler.refactoring.simplestore.domain.Rental;

public class RentalCalculator {
	public double calculatePriceForMovie(Rental rental) {
		return rental.getMovie().calculateRentalPrice(rental.getDaysRented());
	}
}
